Skip to content

Update Clippy #89328

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 116 commits into from
Sep 29, 2021
Merged

Update Clippy #89328

merged 116 commits into from
Sep 29, 2021

Conversation

flip1995
Copy link
Member

Delayed Clippy sync

r? @Manishearth

flip1995 and others added 30 commits July 29, 2021 13:28
self_named_constructor -> self_named_constructors
append_instead_of_extend -> extend_with_drain
[beta] Backport: Rename two lints to comply with our lint naming convention

self_named_constructor -> self_named_constructors
append_instead_of_extend -> extend_with_drain

changelog: none

r? `@ghost`
Allow giving reasons for `disallowed_methods`

Fixes rust-lang#7609.

This permits writing the config for `disallowed-methods` as either a list of strings (like before) or a list of tables, where each table gives the path to the disallowed method and an optional reason for why the method is disallowed.

changelog: Allow giving reasons for [`disallowed_methods`]
Add new lint `iter_not_returning_iterator`

Add new lint [`iter_not_returning_iterator`] to detect method `iter()` or `iter_mut()` returning a type not implementing `Iterator`
changelog: Add new lint [`iter_not_returning_iterator`]
Backport remerge

This is to keep the backported commit in the repository before force pushing the new beta branch.

r? `@ghost`

changelog: none
(literally none)
Fix derivable impl false positives

fix rust-lang#7654
fix rust-lang#7655

changelog: none (not released)
@rust-highfive
Copy link
Contributor

Some changes occurred in src/tools/clippy.

cc @rust-lang/clippy

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 28, 2021
@rust-log-analyzer
Copy link
Collaborator

A job failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)

@Manishearth
Copy link
Member

@bors r+ p=1

we've got some CI flakiness in GHA but let's see how this goes

@bors
Copy link
Collaborator

bors commented Sep 28, 2021

📌 Commit d0fb9db has been approved by Manishearth

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 28, 2021
@camsteffen
Copy link
Contributor

Reopen the PR?

@Manishearth
Copy link
Member

eh, we can just wait for bors to run full tests.

@bors
Copy link
Collaborator

bors commented Sep 28, 2021

⌛ Testing commit d0fb9db with merge c082958a881380b02c2f322e66cbdd10d7435f0b...

@bors
Copy link
Collaborator

bors commented Sep 29, 2021

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Sep 29, 2021
@rust-log-analyzer
Copy link
Collaborator

A job failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)

@flip1995
Copy link
Member Author

dist-aarch64-apple seems to have timed out. (run build is still going, at least if you can trust the GHA UI)

@bors retry

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 29, 2021
@bors
Copy link
Collaborator

bors commented Sep 29, 2021

⌛ Testing commit d0fb9db with merge 6f608ce...

@bors
Copy link
Collaborator

bors commented Sep 29, 2021

☀️ Test successful - checks-actions
Approved by: Manishearth
Pushing 6f608ce to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Sep 29, 2021
@bors bors merged commit 6f608ce into rust-lang:master Sep 29, 2021
@rustbot rustbot added this to the 1.57.0 milestone Sep 29, 2021
@flip1995 flip1995 deleted the clippyup branch September 29, 2021 11:06
@rust-timer
Copy link
Collaborator

Finished benchmarking commit (6f608ce): comparison url.

Summary: This benchmark run did not return any relevant changes.

If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf.

@rustbot label: -perf-regression

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.